package com.xhwl.logistics.strategy;

import com.xhwl.common.exception.BusinessException;
import com.xhwl.logistics.bo.cent.VehicleIntegratedConfigBO;
import com.xhwl.logistics.bo.manipulate.VehicleSyncBO;

public interface IVehicleParkingLotSyncHandler {

    default void syncBlacklist(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, VehicleSyncBO vehicleSyncBO) {
        throw new BusinessException("该项目车场不支持同步黑名单列表，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

    default void syncCarList(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, VehicleSyncBO vehicleSyncBO) {
        throw new BusinessException("该项目车场不支持同步车辆列表，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

    default void syncCardRule(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, VehicleSyncBO vehicleSyncBO) {
        throw new BusinessException("该项目车场不支持同步车卡充值规则，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

//
//    default void syncAccessRecord(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, VehicleSyncBO vehicleSyncBO) {
//        throw new BusinessException("该项目车场不支持同步通行记录，该项目集成配置信息:" + vehicleIntegratedConfigBO);
//    }

    default void syncPayRecord(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, VehicleSyncBO vehicleSyncBO) {
        throw new BusinessException("该项目车场不支持同步缴费记录，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

}
